/**
* -------------------------------------------------------------
* @author  jiao
* @date: 2021-12-31 15:04:01
* @description: Performance service
* -------------------------------------------------------------
* @version 1.0.0
* @Copyright (c) 中科星图-版权所有
*/

package com.geovis.boot.service.demo.file.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.geovis.boot.service.demo.file.entity.Performance;

/**
 * 成绩接口
 * @author jiao
 */
public interface IPerformanceService extends IService<Performance> {

    /**
     * 每次删除都是一个单独的新事物
     */
    void deleteByStudentIdNewTransactional(Integer studentId);

    /**
     * 删除报异常
     * @param id
     * @return
     */
    boolean removeException(Integer id);
}
